package org.monkey.request.plugin.handler;

import lombok.extern.slf4j.Slf4j;
import org.monkey.request.plugin.entity.RequestInfo;
import org.monkey.request.plugin.service.RequestLogPreHandler;


@Slf4j
public class DefaultRequestLogPreHandler implements RequestLogPreHandler {

  @Override
  public void doPre(RequestInfo requestInfo) {
    log.info("request in,url={},ip={},param={}", requestInfo.getUrl(), requestInfo.getIp(),
        requestInfo.getRequest());
  }

}
